﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using System.EnterpriseServices;
using System.Threading;
using System.IO;
using Ooganizer.Platform;
using Ooganizer.API;

namespace Ooganizer.Server
{
    [ObjectPooling(MinPoolSize = 1, MaxPoolSize = 1, CreationTimeout = 3000)]
    [MustRunInClientContext(false)]
    [JustInTimeActivation(true)]
    [Description("Host for the LogServer")]
    [ComVisible(true)]
    public class LogServerHost : ServicedComponent
    {
        public LogServerHost()
        {
            string logFilePath = Env.GetLogDirectory() + @"\LogServer.log";
            
            _logServer = new LogServer(logFilePath, "LogServer");
        }

        ~LogServerHost()
        {

        }

        private LogServer _logServer = null;
    }
}
